<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<script>
  const obj = { name: 'allen' };

  function say(param1, param2) {
    console.log(param1, param2, this.name);
  }

  const fn = say.bind(obj, 'man', 27);
  console.log(fn);
  fn();
  fn();
</script>
</body>
</html>
